<%@ page language="Java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<% 
String path = request.getContextPath(); 
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 
%>
<html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">    
    <title>连接图书</title>        
 </head>
 <body>
 <jsp:useBean id="batch" class="com.mingrisoft.jdbc.Batch"></jsp:useBean>
 <%
 	//执行批量操作
 	int row = batch.saveBatch();
 	out.print("批量插入了【"+row+"】条数据");
 %>
 </body>
</html>